#!/bin/bash
cd /root/nrlj/nrlj_web;
ps aux | grep "nrlj_observer.py" | grep -v "grep" | awk '{print $2}' | xargs -r kill
ps aux | grep "airflow" | grep -v "grep" | awk '{print $2}' | xargs -r kill
ps aux | grep "python run_webserver.py" | grep -v "grep" | awk '{print $2}' | xargs -r kill
rm -rf /root/nrlj/nrlj_web/airflow;
rm -rf /root/nrlj/nrlj_web/*.log;
find /data/bcp -name "137*.zip" -exec mv {} /data/ \;
rm -rf /data/bcp/*;